package com.swotplus.system.sys.vo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.swotplus.common.core.BaseVo;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 系统访问记录
 * </p>
 *
 * @author hugang
 * @since 2020-04-12
 */
public class SysLogininforVo extends BaseVo {


    /**
     * 访问ID
     */
	private String id;
    /**
     * 登录账号
     */
	private String loginName;
    /**
     * 登录IP地址
     */
	private String ipaddr;
    /**
     * 登录地点
     */
	private String loginLocation;
    /**
     * 浏览器类型
     */
	private String browser;
    /**
     * 操作系统
     */
	private String os;
    /**
     * 登录状态（0成功 1失败）
     */
	private String status;
    /**
     * 提示消息
     */
	private String msg;
    /**
     * 访问时间
     */
	private LocalDateTime loginTime;


	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getLoginName() {
		return loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	public String getIpaddr() {
		return ipaddr;
	}

	public void setIpaddr(String ipaddr) {
		this.ipaddr = ipaddr;
	}

	public String getLoginLocation() {
		return loginLocation;
	}

	public void setLoginLocation(String loginLocation) {
		this.loginLocation = loginLocation;
	}

	public String getBrowser() {
		return browser;
	}

	public void setBrowser(String browser) {
		this.browser = browser;
	}

	public String getOs() {
		return os;
	}

	public void setOs(String os) {
		this.os = os;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public LocalDateTime getLoginTime() {
		return loginTime;
	}

	public void setLoginTime(LocalDateTime loginTime) {
		this.loginTime = loginTime;
	}

	@Override
	public String toString() {
		return "SysLogininfor{" +
			", id=" + id +
			", loginName=" + loginName +
			", ipaddr=" + ipaddr +
			", loginLocation=" + loginLocation +
			", browser=" + browser +
			", os=" + os +
			", status=" + status +
			", msg=" + msg +
			", loginTime=" + loginTime +
			"}";
	}
}
